Re: [SQL] dilemma - Mailing list pgsql-sql

From Herouth Maoz
Subject Re: [SQL] dilemma
Date
Msg-id l03110700b24a22c17e45@[194.90.105.243]
Whole thread Raw
In response to dilemma  (Eric McKeown <ericm@palaver.net>)
Responses Using the IN predicate in an UPDATE...  (Thomas Good <tomg@admin.nrnet.org>)
List pgsql-sql
At 4:24 +0200 on 14/10/98, Eric McKeown wrote:


> Is there a better way to design this?  I thought about making the option
> ids for each vehicle a comma-delimited text field, but maybe the search
> would be even slower if I did that.  Since I'm not a SQL expert, I don't
> know, but I'm asking all the experts out there--how should I set this
> thing up??

Your solution is the best, most classic solution. You just need to index
the relational table properly (Put an index on each of the fields).

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma



pgsql-sql by date:

Previous
From: Eric McKeown
Date:
Subject: dilemma
Next
From: Herouth Maoz
Date:
Subject: Re: [SQL] correlative insertion